export const configRoutes = [
  {
  "path": "/pms",
  "component": '/BasicLayout',
  // "component": require('@/layouts/BasicLayout').default,
  "name": "pms",
  icon: 'smile',
  "routes": [
    {
      "path": "/pms/product",
      "name": "product",
      icon: 'smile',
      "component": "/pms/product/index",
      // "component": require('@/pages/pms/product/index').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/addProduct",
      "name": "addProduct",
      "component": "/pms/product/add",
      // "component": require('@/pages/pms/product/add').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/updateProduct",
      "name": "updateProduct",
      "component": "/pms/product/update",
      // "component": require('@/pages/pms/product/update').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/productCate",
      "name": "productCate",
      "component": "/pms/productCate/index",
      // "component": require('@/pages/pms/productCate/index').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/addProductCate",
      "name": "addProductCate",
      "component": "/pms/productCate/add",
      // "component": require('@/pages/pms/productCate/add').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/updateProductCate",
      "name": "updateProductCate",
      "component": "/pms/productCate/update",
      // "component": require('@/pages/pms/productCate/update').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/productAttr",
      "name": "productAttr",
      "component": "/pms/productAttr/index",
      // "component": require('@/pages/pms/productAttr/index').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/productAttrList",
      "name": "productAttrList",
      "component": "/pms/productAttr/productAttrList",
      // "component": require('@/pages/pms/productAttr/productAttrList').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/addProductAttr",
      "name": "addProductAttr",
      "component": "/pms/productAttr/addProductAttr",
      // "component": require('@/pages/pms/productAttr/addProductAttr').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/updateProductAttr",
      "name": "updateProductAttr",
      "component": "/pms/productAttr/updateProductAttr",
      // "component": require('@/pages/pms/productAttr/updateProductAttr').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/brand",
      "name": "brand",
      "component": "/pms/brand/index",
      // "component": require('@/pages/pms/brand/index').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/addBrand",
      "name": "addBrand",
      "component": "/pms/brand/add",
      // "component": require('@/pages/pms/brand/add').default,
      "exact": true
    },
    {
      icon: 'smile',
      "path": "/pms/updateBrand",
      "name": "updateBrand",
      "component": "/pms/brand/update",
      // "component": require('@/pages/pms/brand/update').default,
      "exact": true
    }
  ]
},
{
  icon: 'smile',
  "path": "/oms",
  "component": "/BasicLayout",
  // "component": require('@/layouts/BasicLayout').default,
  "name": "oms",
  "routes": [
    {
      "path": "/oms/order",
      "name": "order",
      "component": "/oms/order/index",
      // "component": require('@/pages/oms/order/index').default,
      "exact": true
    },
    {
      "path": "/oms/orderDetail",
      "name": "orderDetail",
      "component": "/oms/order/orderDetail",
      // "component": require('@/pages/oms/order/orderDetail').default,
      "hidden": true,
      "exact": true
    },
    {
      "path": "/oms/deliverOrderList",
      "name": "deliverOrderList",
      "component": "/oms/order/deliverOrderList",
      // "component": require('@/pages/oms/order/deliverOrderList').default,
      "hidden": true,
      "exact": true
    },
    {
      "path": "/oms/orderSetting",
      "name": "orderSetting",
      "component": "/oms/order/setting",
      // "component": require('@/pages/oms/order/setting').default,
      "exact": true
    },
    {
      "path": "/oms/returnApply",
      "name": "returnApply",
      "component": "/oms/apply/index",
      // "component": require('@/pages/oms/apply/index').default,
      "exact": true
    },
    {
      "path": "/oms/returnReason",
      "name": "returnReason",
      "component": "/oms/apply/reason",
      // "component": require('@/pages/oms/apply/reason').default,
      "exact": true
    },
    {
      "path": "/oms/returnApplyDetail",
      "name": "returnApplyDetail",
      "component": "/oms/apply/applyDetail",
      // "component": require('@/pages/oms/apply/applyDetail').default,
      "hidden": true,
      "exact": true
    }
  ]
},
{
  "path": "/sms",
  "component": "/BasicLayout",
  // "component": require('@/layouts/BasicLayout').default,
  "name": "sms",
  "routes": [
    {
      "path": "/sms/flash",
      "name": "flash",
      "component": "/sms/flash/index",
      // "component": require('@/pages/sms/flash/index').default,
      "exact": true
    },
    {
      "path": "/sms/flashSession",
      "name": "flashSession",
      "component": "/sms/flash/sessionList",
      // "component": require('@/pages/sms/flash/sessionList').default,
      "exact": true
    },
    {
      "path": "/sms/selectSession",
      "name": "selectSession",
      "component": "/sms/flash/selectSessionList",
      // "component": require('@/pages/sms/flash/selectSessionList').default,
      "exact": true
    },
    {
      "path": "/sms/flashProductRelation",
      "name": "flashProductRelation",
      "component": "/sms/flash/productRelationList",
      // "component": require('@/pages/sms/flash/productRelationList').default,
      "exact": true
    },
    {
      "path": "/sms/coupon",
      "name": "coupon",
      "component": "/sms/coupon/index",
      // "component": require('@/pages/sms/coupon/index').default,
      "exact": true
    },
    {
      "path": "/sms/addCoupon",
      "name": "addCoupon",
      "component": "/sms/coupon/add",
      // "component": require('@/pages/sms/coupon/add').default,
      "exact": true
    },
    {
      "path": "/sms/updateCoupon",
      "name": "updateCoupon",
      "component": "/sms/coupon/update",
      // "component": require('@/pages/sms/coupon/update').default,
      "exact": true
    },
    {
      "path": "/sms/couponHistory",
      "name": "couponHistory",
      "component": "/sms/coupon/history",
      // "component": require('@/pages/sms/coupon/history').default,
      "exact": true
    },
    {
      "path": "/sms/brand",
      "name": "homeBrand",
      "component": "/sms/brand/index",
      // "component": require('@/pages/sms/brand/index').default,
      "exact": true
    },
    {
      "path": "/sms/new",
      "name": "homeNew",
      "component": "/sms/new/index",
      // "component": require('@/pages/sms/new/index').default,
      "exact": true
    },
    {
      "path": "/sms/hot",
      "name": "homeHot",
      "component": "/sms/hot/index",
      // "component": require('@/pages/sms/hot/index').default,
      "exact": true
    },
    {
      "path": "/sms/subject",
      "name": "homeSubject",
      "component": "/sms/subject/index",
      // "component": require('@/pages/sms/subject/index').default,
      "exact": true
    },
    {
      "path": "/sms/advertise",
      "name": "homeAdvertise",
      "component": "/sms/advertise/index",
      // "component": require('@/pages/sms/advertise/index').default,
      "exact": true
    },
    {
      "path": "/sms/addAdvertise",
      "name": "addHomeAdvertise",
      "component": "/sms/advertise/add",
      // "component": require('@/pages/sms/advertise/add').default,
      "exact": true
    },
    {
      "path": "/sms/updateAdvertise",
      "name": "updateHomeAdvertise",
      "component": "/sms/advertise/update",
      // "component": require('@/pages/sms/advertise/update').default,
      "exact": true
    }
  ]
},
{
  "path": "/ums",
  "component": "/BasicLayout",
  // "component": require('@/layouts/BasicLayout').default,
  "name": "ums",
  "routes": [
    {
      "path": "/ums/admin",
      "name": "admin",
      "component": "/ums/admin/index",
      // "component": require('@/pages/ums/admin/index').default,
      "exact": true
    },
    {
      "path": "/ums/role",
      "name": "role",
      "component": "/ums/role/index",
      // "component": require('@/pages/ums/role/index').default,
      "exact": true
    },
    {
      "path": "/ums/allocMenu",
      "name": "allocMenu",
      "component": "/ums/role/allocMenu",
      // "component": require('@/pages/ums/role/allocMenu').default,
      "exact": true
    },
    {
      "path": "/ums/allocResource",
      "name": "allocResource",
      "component": "/ums/role/allocResource",
      // "component": require('@/pages/ums/role/allocResource').default,
      "exact": true
    },
    {
      "path": "/ums/menu",
      "name": "menu",
      "component": "/ums/menu/index",
      // "component": require('@/pages/ums/menu/index').default,
      "exact": true
    },
    {
      "path": "/ums/addMenu",
      "name": "addMenu",
      "component": "/ums/menu/add",
      // "component": require('@/pages/ums/menu/add').default,
      "exact": true
    },
    {
      "path": "/ums/updateMenu",
      "name": "updateMenu",
      "component": "/ums/menu/update",
      // "component": require('@/pages/ums/menu/update').default,
      "exact": true
    },
    {
      "path": "/ums/resource",
      "name": "resource",
      "component": "/ums/resource/index",
      // "component": require('@/pages/ums/resource/index').default,
      "exact": true
    },
    {
      "path": "/ums/resourceCategory",
      "name": "resourceCategory",
      "component": "/ums/resource/categoryList",
      // "component": require('@/pages/ums/resource/categoryList').default,
      "exact": true
    }
  ]
 }
]
